#include<iostream>
#include<cmath>
using namespace std;

int main(){
    float a,b,c,x,comp;

    cin >> a >> b >> c;
    cout << "a=" << a << " b=" << b << " c=" << c << endl;
    
    comp = pow(b,2)-4*a*c;
    cout << "b^2-4ac=" << comp << endl;
    cout << "sqrt(b)=" << sqrt(comp) << endl;
    cout << "-1*b=" << -1*b << endl;
    cout << "-1*b+sqrt(comp)=" << -1*b+sqrt(comp) << endl;

    if(comp>0){
        x = (-1*b+sqrt(comp))/(2*a);
    }
    else if(comp<0){
        x = (-1*b-sqrt(comp))/(2*a);
    }
    else if(comp==0){
        x = (-1*b)/(2*a);
    }

    cout << "x=" << x << endl;

    return 0;
}

